package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.api.domain.SchoolConsume;
import com.ruoyi.system.domain.SchoolConsumeTj;

/**
 * 耗课信息Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-19
 */
public interface SchoolConsumeMapper 
{
    /**
     * 查询耗课信息
     * 
     * @param id 耗课信息ID
     * @return 耗课信息
     */
    public SchoolConsume selectSchoolConsumeById(Long id);

    /**
     * 查询耗课信息列表
     * 
     * @param schoolConsume 耗课信息
     * @return 耗课信息集合
     */
    public List<SchoolConsume> selectSchoolConsumeList(SchoolConsume schoolConsume);
    public List<SchoolConsumeTj> selectSchoolConsumeTjList(SchoolConsume schoolConsume);
    public List<SchoolConsumeTj> selectSchoolConsumeTjXsList(SchoolConsume schoolConsume);

    /**
     * 新增耗课信息
     * 
     * @param schoolConsume 耗课信息
     * @return 结果
     */
    public int insertSchoolConsume(SchoolConsume schoolConsume);

    /**
     * 修改耗课信息
     * 
     * @param schoolConsume 耗课信息
     * @return 结果
     */
    public int updateSchoolConsume(SchoolConsume schoolConsume);

    /**
     * 删除耗课信息
     * 
     * @param id 耗课信息ID
     * @return 结果
     */
    public int deleteSchoolConsumeById(Long id);

    /**
     * 批量删除耗课信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteSchoolConsumeByIds(Long[] ids);
}
